<div class="modal" tabindex="-1" role="dialog">
    <div class="modal-dialog" style="width: 1100px;">
        <div class="card">
            <div class="header">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h3 class="modal-title">{{params.title}}</h3>
            </div>
            <div activate-input class="body">
                <div>
                    <form class="form-horizontal" role="form" name="editForm" novalidate>
                        <!--<div class="row clearfix">
                            <div class="col-lg-2 col-md-2 col-sm-3 col-xs-3 form-control-label">
                                <label>所属党总支（默认） :</label>
                            </div>
                            <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
                                <div class="form-group">
                                    <div class="form-line">
                                        <input type="hidden" name="dwId" ng-model="changevm.dwId" class="form-control"/>
                                        <input type="text" name="dwName" ng-model="changevm.dwName" readonly
                                               class="form-control"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row clearfix">
                            <div class="col-lg-2 col-md-2 col-sm-3 col-xs-3 form-control-label">
                                <label>人员 :</label>
                            </div>
                            <div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
                                <div class="form-group">
                                    <div class="form-line"
                                         ng-class="{ 'focused error' : this.editForm.userName.$invalid &&  this.editForm.$submitted}">
                                        <input type="hidden" name="userId" ng-model="changevm.userId"
                                               class="form-control"/>
                                        <input type="text" ng-if="selectUserMod==1" name="userName"
                                               ng-model="changevm.userName" ng-click="selectUser()" readonly
                                               class="form-control"/>
                                        <input type="text" ng-if="selectUserMod==0" name="userName"
                                               ng-model="changevm.userName" readonly class="form-control"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row clearfix">
                            <div class="col-lg-2 col-md-2 col-sm-3 col-xs-3 form-control-label">
                                <label>任职时间 :</label>
                            </div>
                            <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
                                <div class="form-group">
                                    <div class="form-line"
                                         ng-class="{ 'focused error' : this.editForm.servingDate.$invalid &&  this.editForm.$submitted}">
                                        <input type="text" name="servingDate" ng-model="changevm.servingDate"
                                               class="form-control"
                                               format="yyyy-mm-dd"
                                               data-min-view="3" bs-datetimepicker
                                               ng-required="true"/>
                                    </div>
                                </div>
                            </div>
                        </div>-->
                        <div class="dj-formtable">
                            <table class="dj-table dj-table2">
                                <tr>
                                    <th>所属党总支（默认）</th>
                                    <td>
                                        <input type="text" name="dwName" ng-model="changevm.dwName" readonly
                                               class="form-control"/>
                                    </td>
                                </tr>
                                <tr>
                                    <th>人员</th>
                                    <td ng-class="{ 'has-error' : this.editForm.userName.$invalid &&  this.editForm.$submitted}">
                                        <input type="hidden" name="userId" ng-model="changevm.userId"
                                               class="form-control"/>
                                        <input type="text" ng-if="selectUserMod==1" name="userName"
                                               ng-model="changevm.userName" ng-click="selectUser()" readonly
                                               class="form-control"/>
                                        <input type="text" ng-if="selectUserMod==0" name="userName"
                                               ng-model="changevm.userName" readonly class="form-control"/>
                                        <span ng-show="this.editForm.userName.$invalid &&  this.editForm.$submitted"
                                              class="error">必填.</span>
                                    </td>
                                </tr>
                                <tr>
                                    <th>任职时间</th>
                                    <td ng-class="{ 'has-error' : this.editForm.servingDate.$invalid &&  this.editForm.$submitted}">
                                        <input type="text" name="servingDate" ng-model="changevm.servingDate"
                                               class="form-control"
                                               format="yyyy-mm-dd"
                                               data-min-view="3" bs-datetimepicker
                                               ng-required="true"/>
                                        <span ng-show="this.editForm.servingDate.$invalid &&  this.editForm.$submitted"
                                              class="error">必填.</span>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="form_foot">
                            <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
                            <button type="submit" class="btn btn-primary" ng-click="submitDZX(this.editForm.$valid)">提交
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>